home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
X11
/
maze.z
/
maze
Wrap
Text File
|
1998-10-30
|
4KB
|
133 lines
MMMMAAAAZZZZEEEE((((1111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 5555)))) MMMMAAAAZZZZEEEE((((1111))))
NNNNAAAAMMMMEEEE
maze - an automated X11 demo repeatedly creating and solving
a random maze
SSSSYYYYNNNNTTTTAAAAXXXX
mmmmaaaazzzzeeee [ ----SSSS ] [ ----rrrr ] [ ----gggg _g_e_o_m_e_t_r_y ] [ ----dddd _d_i_s_p_l_a_y ]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
The _m_a_z_e program creates a "random" maze and then solves it
with graphical feedback.
CCCCoooommmmmmmmaaaannnndddd OOOOppppttttiiiioooonnnnssss
----SSSS Full screen window option...
----rrrr Reverse video option...
----gggg _g_e_o_m_e_t_r_y
Specifies the window geometry to be used...
----dddd _d_i_s_p_l_a_y
Specifies the display to be used...
The following lists the current functionality of various
mouse button clicks;
LLLLeeeeffffttttBBBBuuuuttttttttoooonnnn
Clears the window and restarts maze...
MMMMiiiiddddddddlllleeeeBBBBuuuuttttttttoooonnnn
Toggles the maze program, first click -> _s_t_o_p, second
click -> _c_o_n_t_i_n_u_e...
RRRRiiiigggghhhhttttBBBBuuuuttttttttoooonnnn
Kills maze...
LLLLIIIIMMMMIIIITTTTAAAATTTTIIIIOOOONNNNSSSS
No color support...
Expose events force a restart of maze...
Currently, mouse actions are based on "raw" values [
Button1, Button2 and Button3 ] from the ButtonPress event...
[ doesn't use pointer mapping ]
CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTT
Copyright 1988 by Sun Microsystems, Inc. Mountain View, CA.
All Rights Reserved
Permission to use, copy, modify, and distribute this
software and its documentation for any purpose and without
fee is hereby granted, provided that the above copyright
notice appear in all copies and that both that copyright
Page 1 (printed 4/30/98)
MMMMAAAAZZZZEEEE((((1111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 5555)))) MMMMAAAAZZZZEEEE((((1111))))
notice and this permission notice appear in supporting
documentation, and that the names of Sun or MIT not be used
in advertising or publicity pertaining to distribution of
the software without specific prior written permission. Sun
and M.I.T. make no representations about the suitability of
this software for any purpose. It is provided "as is"
without any express or implied warranty.
SUN DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SUN BE
LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
THE USE OR PERFORMANCE OF THIS SOFTWARE.
AAAAUUUUTTTTHHHHOOOORRRR((((ssss))))
Richard Hess [ X11 extensions ] {...}!uunet!cimshop!rhess
Consilium, Mountain View, CA
Dave Lemke [ X11 version ] lemke@sun.COM
Sun MicroSystems, Mountain View, CA
Martin Weiss [ SunView version ]
Sun MicroSystems, Mountain View, CA
Page 2 (printed 4/30/98)